import request from "@/utils/request";

// 查询菜品
export const getDishListAPI = (params) => {
    return request.get('/dish/list', {
        params
    })
}

// 浏览历史
export const getDishHistService = (params) => {
    return request.get('/hist/list', {
        params
    })
}

// 菜品：获取菜品详情
export const dishGetDetailService = (id) =>
    request.get('/dish/' + id)